package com.xinkao.example.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 示例表
 * @Author lililiang
 * @Date 2021-08-20 17:38:54
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("示例表实体")
@TableName("example")
public class ExampleEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("主键id")
	@TableId
	private String id;
	@ApiModelProperty("标题")
	@TableField("example_title")
	private String exampleTitle;
	@ApiModelProperty("作者")
	@TableField("example_author")
	private String exampleAuthor;
	@ApiModelProperty("地点")
	@TableField("example_address")
	private String exampleAddress;
	@ApiModelProperty("时间")
	@TableField("example_time")
	private Date exampleTime;
	@ApiModelProperty("文章内容")
	@TableField("example_content")
	private String exampleContent;
	@ApiModelProperty("图片文件id")
	@TableField("img_fileid")
	private String imgFileid;
	@ApiModelProperty("创建时间")
	@TableField("create_time")
	private Date createTime;
	@ApiModelProperty("创建人")
	@TableField("create_by")
	private String createBy;
	@ApiModelProperty("更新时间")
	@TableField("update_time")
	private Date updateTime;
	@ApiModelProperty("更新人")
	@TableField("update_by")
	private String updateBy;
	@ApiModelProperty("状态0否1是")
	@TableField("status")
	private Integer status;
	@ApiModelProperty("附件文件id")
	@TableField("doc_fileid")
	private String docFileid;
	@ApiModelProperty("是否删除，0正常，1删除")
	@TableField("delete_status")
	private Integer deleteStatus;
	@ApiModelProperty("性别，1男，2女")
	@TableField("sex")
	private Integer sex;

	@ApiModelProperty("错误信息")
	@TableField(exist = false)
	private String errMsg;
	@ApiModelProperty("文件列表")
	@TableField(exist = false)
	private List<UploadFileEntity> fileList;
}
